cmake_minimum_required(VERSION 3.10)

project(serial_test)


aux_source_directory(src SRC_LIST)

add_library(serial SHARED ${SRC_LIST})

target_include_directories(serial PUBLIC include)

add_executable(serial_test serial_test.cpp)

add_executable(serial_test2 serial_test2.cpp)

target_link_libraries(serial_test2 serial)

